package sz.szsmk.citizencard.model.network.bean.response;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/7/20 21:16
 * description:
 */
public class IUserInfo extends BaseBean {
    /**
     * userEx : {"id":null,"paper_type":"null","paper_no":null,"name":null,"real_name_level":1,"bind_card_level":0,"user_name":"17625903010","mobile":"17625903010","status":"1","create_time":null,"update_time":null,"sex":"null","birth":null,"addr":null,"post":null,"telephone":null,"email":null,"corp":null,"photo_url":"https://newapp.szsmk.com/pic/avatar/469_1536130934829.png","nick_name":"燃灯","degree":null,"star_sign":null,"per_sign":null,"paper_url":null,"e_card_no":null,"citizen":null}
     */

    private UserExBean userEx;

    public UserExBean getUserEx() {
        return userEx;
    }

    public void setUserEx(UserExBean userEx) {
        this.userEx = userEx;
    }

    public static class UserExBean {
        /**
         * id : null
         * paper_type : null
         * paper_no : null
         * name : null
         * real_name_level : 1
         * bind_card_level : 0
         * user_name : 17625903010
         * mobile : 17625903010
         * status : 1
         * create_time : null
         * update_time : null
         * sex : null
         * birth : null
         * addr : null
         * post : null
         * telephone : null
         * email : null
         * corp : null
         * photo_url : https://newapp.szsmk.com/pic/avatar/469_1536130934829.png
         * nick_name : 燃灯
         * degree : null
         * star_sign : null
         * per_sign : null
         * paper_url : null
         * e_card_no : null
         * citizen : null
         */

        private int id;
        private String paper_type;
        private String paper_no;
        private Object name;
        private int real_name_level;
        private int bind_card_level;
        private String user_name;
        private String mobile;
        private String status;
        private Object create_time;
        private Object update_time;
        private String sex;
        private Object birth;
        private Object addr;
        private Object post;
        private Object telephone;
        private Object email;
        private Object corp;
        private String photo_url;
        private String nick_name;
        private Object degree;
        private Object star_sign;
        private Object per_sign;
        private Object paper_url;
        private Object e_card_no;
        private Object citizen;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPaper_type() {
            return paper_type;
        }

        public void setPaper_type(String paper_type) {
            this.paper_type = paper_type;
        }

        public String getPaper_no() {
            return paper_no;
        }

        public void setPaper_no(String paper_no) {
            this.paper_no = paper_no;
        }

        public Object getName() {
            return name;
        }

        public void setName(Object name) {
            this.name = name;
        }

        public int getReal_name_level() {
            return real_name_level;
        }

        public void setReal_name_level(int real_name_level) {
            this.real_name_level = real_name_level;
        }

        public int getBind_card_level() {
            return bind_card_level;
        }

        public void setBind_card_level(int bind_card_level) {
            this.bind_card_level = bind_card_level;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public String getMobile() {
            return mobile;
        }

        public String getShowMobile(){
            return mobile.replaceAll("(\\d{3})\\d{4}(\\d{4})", "$1****$2");
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public Object getCreate_time() {
            return create_time;
        }

        public void setCreate_time(Object create_time) {
            this.create_time = create_time;
        }

        public Object getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(Object update_time) {
            this.update_time = update_time;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public Object getBirth() {
            return birth;
        }

        public void setBirth(Object birth) {
            this.birth = birth;
        }

        public Object getAddr() {
            return addr;
        }

        public void setAddr(Object addr) {
            this.addr = addr;
        }

        public Object getPost() {
            return post;
        }

        public void setPost(Object post) {
            this.post = post;
        }

        public Object getTelephone() {
            return telephone;
        }

        public void setTelephone(Object telephone) {
            this.telephone = telephone;
        }

        public Object getEmail() {
            return email;
        }

        public void setEmail(Object email) {
            this.email = email;
        }

        public Object getCorp() {
            return corp;
        }

        public void setCorp(Object corp) {
            this.corp = corp;
        }

        public String getPhoto_url() {
            return photo_url;
        }

        public void setPhoto_url(String photo_url) {
            this.photo_url = photo_url;
        }

        public String getNick_name() {
            return nick_name;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }

        public Object getDegree() {
            return degree;
        }

        public void setDegree(Object degree) {
            this.degree = degree;
        }

        public Object getStar_sign() {
            return star_sign;
        }

        public void setStar_sign(Object star_sign) {
            this.star_sign = star_sign;
        }

        public Object getPer_sign() {
            return per_sign;
        }

        public void setPer_sign(Object per_sign) {
            this.per_sign = per_sign;
        }

        public Object getPaper_url() {
            return paper_url;
        }

        public void setPaper_url(Object paper_url) {
            this.paper_url = paper_url;
        }

        public Object getE_card_no() {
            return e_card_no;
        }

        public void setE_card_no(Object e_card_no) {
            this.e_card_no = e_card_no;
        }

        public Object getCitizen() {
            return citizen;
        }

        public void setCitizen(Object citizen) {
            this.citizen = citizen;
        }
    }


    /**
     * userEx : {"paper_type":"null","paper_no":null,"name":null,"real_name_level":1,"bind_card_level":0,"user_name":"17625903010","mobile":"17625903010","status":"1","create_time":null,"update_time":null,"sex":"null","birth":null,"addr":null,"post":null,"telephone":null,"email":null,"corp":null,"photo_url":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1531316435605&di=4934eea1391dec945bb81626921b62b2&imgtype=0&src=http://www.qqzhi.com/uploadpic/2014-12-03/044844999.jpg","nick_name":"","degree":null,"star_sign":null,"per_sign":null,"paper_url":null,"e_card_no":null,"citizen":null}
     * code : 000000
     * message : 操作成功
     */



}
